#include "stdio.h"
main()
{
	int shu[5],i,j,t;	
	printf("n e\n");
	printf("- -----------\n");
	printf("0 1\n");
	printf("1 2\n");
	printf("2 2.5\n");
	printf("3 2.666666667\n");
	printf("4 2.708333333\n");
	printf("5 2.716666667\n");
	shu[0]=666666667; 
	shu[1]=138888888;  /* 6 */
	shu[2]=shu[1]/7;  /* 7 */
	shu[3]=shu[2]/8;
	shu[4]=shu[3]/9;
	
	for (i=6;i<=9;++i)
	{
		for (j=1,t=shu[0];j<=(i-5);++j)
		{
			t+=shu[j];
		}
		t/=10;
		t+=5;
		t/=10;
		printf("%d 2.71%d\n",i,t);		
	}		
}
